1) generate DSA/RSA key with keytool:

   //DSA
   keytool -genKey -alias AppletNewKey -keypass 123456 -dname CN=AppletNewKey,O=CryptoPro -keystore C:\appletNew.store -storepass 123456
   //RSA
   keytool -genKey -alias AppletNewKey -keyalg RSA -keypass 123456 -dname CN=AppletNewKey,O=CryptoPro -keystore C:\appletNew.store -storepass 123456

2) add all files in package AppletNew to AppletNew.jar:

   jar.exe cf AppletNew.jar -C %CLASSES_PATH%
   //%CLASSES_PATH% - path to folder with package classes (and other files [images...])

3) sign the AppletNew.jar with jarsigner

   jarsigner -keystore C:\appletNew.store -storepass 123456 AppletNew.jar AppletNewKey
   jarsigner -verify AppletNew.jar //verify

4) run applet with browser (AppletNew.html) 
   AppletNew.jar must be in the same directory